<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <script src="./js/jquery-3.5.1.min.js"></script>
    <title>Document</title>
  </head>
  <style></style>
  <body>
    <button>点我</button>
    <script>
      // var num1 = 1;
      // var num2 = 3;
      // console.log(typeof num1);
      //   var num3 = num1 * num2;
      //   console.log(typeof num3);
      var num = 0;
      $("button").click(function () {
        num++;
      });
      console.log(num);
    </script>
  </body>
</html>
